package com.ruoyi.hospital.domain.member;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 积分记录对象 member_point_info
 * 
 * @author wendao
 * @date 2024-08-16
 */
public class MemberPointInfo extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 会员 */
    @Excel(name = "会员")
    private String memberName;
    private Integer memberId;

    /** 来源 */
    @Excel(name = "来源",dictType = "source")
    private Integer source;

    /** 类型 */
    @Excel(name = "类型",dictType = "point_type")
    private Integer pointType;

    /** 积分 */
    @Excel(name = "积分")
    private Integer point;

    /** 删除时间 */
    private Integer deleteTime;


    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setMemberId(Integer memberId) 
    {
        this.memberId = memberId;
    }

    public Integer getMemberId() 
    {
        return memberId;
    }
    public void setSource(Integer source) 
    {
        this.source = source;
    }

    public Integer getSource() 
    {
        return source;
    }
    public void setPointType(Integer pointType) 
    {
        this.pointType = pointType;
    }

    public Integer getPointType() 
    {
        return pointType;
    }
    public void setPoint(Integer point) 
    {
        this.point = point;
    }

    public Integer getPoint() 
    {
        return point;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("source", getSource())
            .append("pointType", getPointType())
            .append("point", getPoint())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
